package com.dw.service;

public class Demo01 {
	
	public String sum(String d,int...arg){
		int ss=Integer.parseInt(d.trim());
		int sum=0;
		for(int i=0;i<arg.length;i++){
			sum=sum+arg[i];
		}
		
		return sum+""+ss;
	}
	
	public static void main(String[] args) {
		Demo01 d=new Demo01();
		String sum=d.sum("5",2,4,6);
		System.out.println("结果："+sum);
		 
	}

}
